package date1201.annotation;

import java.util.List;

import org.springframework.stereotype.Component;

import dog.bean.Student;

/**
 * @author Yue
 * @date 2017年12月1日 上午10:56:30 
 */
@Component
public class SClass {
	private String name;
	private List<Student> students;
	private Teacher headerTeacher;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<Student> getStudents() {
		return students;
	}
	public void setStudents(List<Student> students) {
		this.students = students;
	}
	public Teacher getHeaderTeacher() {
		return headerTeacher;
	}
	public void setHeaderTeacher(Teacher headerTeacher) {
		this.headerTeacher = headerTeacher;
	}
	@Override
	public String toString() {
		return "SClass [name=" + name + ", students=" + students + ", headerTeacher=" + headerTeacher + "]";
	}
	
	
	
}
